<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>jQuery Ajax封装通用类测试</title>

    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/ajaxUtils.js"></script>


    <script type="text/javascript">
        $(function(){

        	
           $.frontEngineAjax.executeAjax(
                    "mainMenu.json",
                    null,
                    {'id':'121','name':'ly'},
                    function(data){
                        alert(data.length);
                    },
                    function(){
                        alert("出错了");
                    }
            );

            /*  

             $.frontEngineAjax.executeAjaxPost("mainMenu.json",
                    null,
                    function(){
                        alert("成功了");
                    },
                    function(){
                        alert("出错了");
                    });
*/




        });
    </script>
</head>
<body>



</body>
</html>